import useTaskExecuteInfo from '/@/api/datapipeline/task-execute-info';
import {
    TaskExecuteInfoSearchParamModel,
} from '/@/interfaces/DataPipelineModel';
import { BaseRequest } from '/@/interfaces/BaseModel';

const handle = useTaskExecuteInfo();

async function handleSearch(form: BaseRequest<TaskExecuteInfoSearchParamModel>) {
    const response = await handle.list(form);
    return response.data;
}

export {
    handleSearch,
}
